package com.example.superoa.model.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;
import com.example.superoa.model.pojos.Transfer;
import com.example.superoa.model.pojos.TransferType;
import com.example.superoa.model.vo.TransferVo;


@Mapper
public interface TransferMapper {
		//根据名字查
		public TransferVo transferName(@Param("staff_id")int staff_id); 
		public Integer selectIID();
		public Integer selectjlIID();
		//查询调动前调动后
		public JSONArray selectransfer();
		//查询调动结果
		public JSONArray selectransferjg();
		//根据ID查询数据
		public TransferVo selectransferById(@Param("Approval_id")int Approval_id);
		//修改状态
		public void transferstate(@Param("Approval_state") String approval_state,@Param("Approval_id")int approval_id);
		//生成编号
		public List<Transfer> transferALId();
		//调动类型的
		public List<TransferType> transferTypeId();
}
